/**
 * 统计接口
 */
import {
  HTTP
} from '../utils/http.js';
import utils from '../utils/util';

class statisticsModel extends HTTP {

  // 统计当前供应商订单数据
  statisticsList(data, sCallback) {
    this.request({
      url: 'supplier/app/count/count',
      method: 'get',
      data: data,
      success: (res) => {
        if(res.code == 200){
          sCallback(res)
        }else{
          utils.msg(res.msg)
        }
      }

    })
  }
  

}
export {
  statisticsModel
}